package com.kma.summer2012.dao;

import com.kma.summer2012.model.CrumbsRequestsState;

import java.sql.SQLException;
import java.util.Collection;

public interface
        CrumbsRequestsStateDAO extends DAO<CrumbsRequestsState> {
    public void add(CrumbsRequestsState o) throws SQLException;

    public CrumbsRequestsState findByName(String sateName) throws SQLException;

    public void update(CrumbsRequestsState o) throws SQLException;

    public CrumbsRequestsState getById(int id) throws SQLException;

    public Collection<CrumbsRequestsState> getAll() throws SQLException;

    public void delete(CrumbsRequestsState o) throws SQLException;
}
